package top.bingoz.wanandroid.di

import dagger.Binds
import dagger.Module
import top.bingoz.wanandroid.contract.ArticleContract
import top.bingoz.wanandroid.di.scope.ActivityScope
import top.bingoz.wanandroid.presenter.ArticlePresenter

/**
 * @author su
 * @date 2018/7/30
 * @description
 */
@Module
abstract class ArticleModule {

    @ActivityScope
    @Binds
    internal abstract fun bindPresenter(presenter: ArticlePresenter): ArticleContract.Presenter
}